/**
 * 
 */
package org.mspring.mlog.service;

import java.io.IOException;

import javax.servlet.http.HttpServletRequest;

import org.mspring.mlog.entity.Photo;
import org.mspring.mlog.service.exception.StorageException;
import org.mspring.platform.dao.hibernate.IGenericDao;

/**
 * @author Gao Youbo
 * @since 2012-10-17
 * @Description
 * @TODO
 */
public interface PhotoService extends IGenericDao<Photo, java.lang.Long> {
    public Photo createPhoto(HttpServletRequest request, Long album) throws IOException, StorageException;

    public void deletePhoto(Long... id);

    public void updatePhoto(Photo photo);
}
